// 3.0把登录和用户的接口统一管理
import req from '../utils/request.js'

//3.1获取订单列表的方法
export function getAllOrder(query) {
  return req.get('/order/list', query)
}
//3.2含查询方法
export function searchOrders(query) {
  return req.get('/order/search', query)
}
//3.3 获取订单详情方法
export function detailOrders(query) {
  return req.get('/order/detail', query)
}
//3.4修改订单方法
export function editOrders(query) {
  return req.post('/order/edit', query)
}
